package com.zhao.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author:zhao
 * @Date: 2018/8/27 16:47
 * @Description:
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.datasource.secondary")
public class SecondaryConfig {

    private String type;

    private String driverClassName;

    private String url;

    private String username;

    private String password;

}
